package com.dms.modules.merchant.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "商户登录响应")
public class MerchantLoginResponse {
    @ApiModelProperty(value = "访问令牌")
    private String accessToken;
    
    @ApiModelProperty(value = "刷新令牌")
    private String refreshToken;
    
    @ApiModelProperty(value = "令牌类型")
    private String tokenType;
    
    @ApiModelProperty(value = "过期时间(秒)")
    private Long expiresIn;
    
    @ApiModelProperty(value = "商户ID")
    private Long merchantId;
    
    @ApiModelProperty(value = "用户名")
    private String username;
    
    @ApiModelProperty(value = "昵称")
    private String nickname;
    
    @ApiModelProperty(value = "头像")
    private String avatar;
    
    @ApiModelProperty(value = "邮箱")
    private String email;
    
    @ApiModelProperty(value = "手机号")
    private String phone;
    
    @ApiModelProperty(value = "状态：0-禁用 1-正常")
    private Integer status;
    
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    
    @ApiModelProperty(value = "店铺logo")
    private String shopLogo;
    
    @ApiModelProperty(value = "店铺描述")
    private String shopDesc;
    
    @ApiModelProperty(value = "角色ID")
    private Long roleId;
    
    @ApiModelProperty(value = "审核状态：0-待审核 1-通过 2-拒绝")
    private Integer auditStatus;
    
    @ApiModelProperty(value = "店铺地址")
    private String address;
    
    @ApiModelProperty(value = "商家等级")
    private Integer level;
    
    @ApiModelProperty(value = "商家评分")
    private Double score;
} 